package com.itheima.mapper;

import com.itheima.pojo.Employee;

public interface EmployeeMapper {
    //查询
    Employee selectEmployeeById(Integer id);// 根据id查询test2_employee1表中的员工信息
    //添加
    Integer insertEmployeeToE1(Employee employee);
    //修改
    Integer updateEmployeeToE1(Employee employee);
    //删除
    Integer deleteEmployeeToE1(Integer id);


    //对test2_employee2这个表执行以上操作
    Employee selectEmployeeById2(Integer id);
    Integer insertEmployeeToE2(Employee employee);
    Integer updateEmployeeToE2(Employee employee);
    Integer deleteEmployeeToE2(Integer id);
}
